package com.koron.css2.meterService.bean;

import com.koron.css2.baseConfig.bean.BaseBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 水表信息表
 * @author 李攀
 *
 */
public class MsInfoBean extends BaseBean{
	
	/**
     * 水表编号
     */
    private String meterNo;
    /**
     * 出厂编号
     */
    private String factoryNo;
    /**
     * 水表口径
     */
    private String meterBore;
    /**
     * 水表厂家
     */
    private String meterFactory;
    /**
     * 水表形态
     */
	private String meterForm;
	/**
     * 水表类型
     */
	private String meterType;
	/**
     * 水表型号
     */
	private String meterModel;
	/**
     * 合格证号
     */
    private String meterCert;
    /**
     * 水表状态
     */
    private Integer meterStatus;
    /**
     * 所属部门
     */
	private String departBelong;
	/**
     * 始用日期
     */
	private Date startDate;
	/**
     * 装表日期
     */
	private Date installDate;
	/**
     * 报废日期
     */
    private Date scrapDate;
    
    /**
     * 过期日期
     */
    private Date expireDate;
    /**
     * 用户编号
     */
    private String userNo;

	/**
	 * 远程通讯费用
	 */
	private String transCommFee;
	/**
	 * 通讯商
	 */
	private String commOperator;
	
	/**
	 * 通讯费用开始日期
	 */
	private Date commFeeStart;
	
	/**
	 * 通讯费用结束日期
	 */
	private Date commFeeEnd;
	
	/**
	 * 操作类型
	 */
	private Integer operateType;
	
	/**
	 * IMEI
	 */
	private String imei;
	
	/**
	 * IMSI
	 */
	private String imsi;
	/**
	 * sim
	 */
	private String sim;
	/**
	 * 
	 * @return
	 */
	private String transmittalModel; 
	
	/**
	 * 水表型式
	 * @return
	 */
	private String meterPattern;

	
	/**
	 * 是否阀控表
	 * @return
	 */
	private Integer valveControl;
	
	/**
	 * 下行规约
	 * @return
	 */
	private String protocol;
	

	/**
	 * 水表传感器
	 * @return
	 */
	private String meterSensor;
	

	
	/**
	 * 满码值
	 * @return
	 */
	private BigDecimal maxValue;
	
	/**
	 * 使用期限
	 * @return
	 */
	private int shelfLife;
	/**
	 * 上传标识  1：为失败
	 */
	private Integer uploadFlag;
	/**
	 * 周检起算日
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date mtdycChkDate;
	
	public String getSim() {
		return sim;
	}

	public void setSim(String sim) {
		this.sim = sim;
	}

	public Date getMtdycChkDate() {
		return mtdycChkDate;
	}

	public void setMtdycChkDate(Date mtdycChkDate) {
		this.mtdycChkDate = mtdycChkDate;
	}

	public Integer getUploadFlag() {
		return uploadFlag;
	}

	public void setUploadFlag(Integer uploadFlag) {
		this.uploadFlag = uploadFlag;
	}

	public String getMeterPattern() {
		return meterPattern;
	}

	public void setMeterPattern(String meterPattern) {
		this.meterPattern = meterPattern;
	}



	public Integer getValveControl() {
		return valveControl;
	}

	public void setValveControl(Integer valveControl) {
		this.valveControl = valveControl;
	}
	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getMeterSensor() {
		return meterSensor;
	}

	public void setMeterSensor(String meterSensor) {
		this.meterSensor = meterSensor;
	}

	public BigDecimal getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(BigDecimal maxValue) {
		this.maxValue = maxValue;
	}

	public int getShelfLife() {
		return shelfLife;
	}

	public void setShelfLife(int shelfLife) {
		this.shelfLife = shelfLife;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getImsi() {
		return imsi;
	}

	public void setImsi(String imsi) {
		this.imsi = imsi;
	}

	public Date getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

	public Integer getOperateType() {
		return operateType;
	}

	public void setOperateType(Integer operateType) {
		this.operateType = operateType;
	}

	public String getMeterNo() {
		return meterNo;
	}

	public String getFactoryNo() {
		return factoryNo;
	}

	public String getMeterBore() {
		return meterBore;
	}

	public String getMeterFactory() {
		return meterFactory;
	}

	public String getMeterForm() {
		return meterForm;
	}

	public String getMeterType() {
		return meterType;
	}

	public String getMeterModel() {
		return meterModel;
	}

	public String getMeterCert() {
		return meterCert;
	}

	public Integer getMeterStatus() {
		return meterStatus;
	}

	public String getDepartBelong() {
		return departBelong;
	}

	public Date getStartDate() {
		return startDate;
	}

	public Date getInstallDate() {
		return installDate;
	}

	public Date getScrapDate() {
		return scrapDate;
	}

	public String getUserNo() {
		return userNo;
	}

	public String getTransCommFee() {
		return transCommFee;
	}

	public String getCommOperator() {
		return commOperator;
	}

	public Date getCommFeeStart() {
		return commFeeStart;
	}

	public Date getCommFeeEnd() {
		return commFeeEnd;
	}

	public void setMeterNo(String meterNo) {
		this.meterNo = meterNo;
	}

	public void setFactoryNo(String factoryNo) {
		this.factoryNo = factoryNo;
	}

	public void setMeterBore(String meterBore) {
		this.meterBore = meterBore;
	}

	public void setMeterFactory(String meterFactory) {
		this.meterFactory = meterFactory;
	}

	public void setMeterForm(String meterForm) {
		this.meterForm = meterForm;
	}

	public void setMeterType(String meterType) {
		this.meterType = meterType;
	}

	public void setMeterModel(String meterModel) {
		this.meterModel = meterModel;
	}

	public void setMeterCert(String meterCert) {
		this.meterCert = meterCert;
	}

	public void setMeterStatus(Integer meterStatus) {
		this.meterStatus = meterStatus;
	}

	public void setDepartBelong(String departBelong) {
		this.departBelong = departBelong;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public void setInstallDate(Date installDate) {
		this.installDate = installDate;
	}

	public void setScrapDate(Date scrapDate) {
		this.scrapDate = scrapDate;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	public void setTransCommFee(String transCommFee) {
		this.transCommFee = transCommFee;
	}

	public void setCommOperator(String commOperator) {
		this.commOperator = commOperator;
	}

	public void setCommFeeStart(Date commFeeStart) {
		this.commFeeStart = commFeeStart;
	}

	public void setCommFeeEnd(Date commFeeEnd) {
		this.commFeeEnd = commFeeEnd;
	}
	
	 public String getTransmittalModel() {
		return transmittalModel;
	}

	public void setTransmittalModel(String transmittalModel) {
		this.transmittalModel = transmittalModel;
	}

	@Override
	public String toString() {
		return "MsInfoBean [meterNo=" + meterNo + ", factoryNo=" + factoryNo + ", meterBore=" + meterBore
				+ ", meterFactory=" + meterFactory + ", meterForm=" + meterForm + ", meterType=" + meterType
				+ ", meterModel=" + meterModel + ", meterCert=" + meterCert + ", meterStatus=" + meterStatus
				+ ", departBelong=" + departBelong + ", startDate=" + startDate + ", installDate=" + installDate
				+ ", scrapDate=" + scrapDate + ", userNo=" + userNo + ", transCommFee=" + transCommFee
				+ ", commOperator=" + commOperator + ", commFeeStart=" + commFeeStart + ", commFeeEnd=" + commFeeEnd
				+ ", operateType=" + operateType + "]";
	}
}
